import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue')
}, {
    path: '/eco',
    name: 'ecoWatch',
    component: () => import('../views/ecoWatch.vue')
},
    {
        //需量分析
        path: '/eco1',
        name: 'ecoWatch1',
        component: () => import('../views/ecoWatch1.vue')
    },
    {
        //需量分析
        path: '/ecoWatchceshi',
        name: 'ecoWatchceshi',
        component: () => import('../views/ecoWatchceshi.vue')
    }]
//

const router = new VueRouter({
    routes,
})

export default router
